<?php

/**
 * @copyright 2011
 * @version $Id$
 * @access public
 * @author Oriotiori

 */
class LanguageswitchController extends Zend_Controller_Action
{

    public function init()
    {}

    public function indexAction()
    {}

    /**
     * LanguageswitchController::switchAction()
     * Cambia el lenguaje a ingl�soespa�ol, seg�n sea el caso.
     * @return void
     */
    public function switchAction()
    {
    	$session = new Zend_Session_Namespace('s_Sass');    	
	$session->language = $this->_getParam('lang');
        $this->_redirect($_SERVER['HTTP_REFERER']);
		
    }


}



